Retrieving 3D Information for Probe Microscopy