Algorithms for scanned probe microscope image simulation, surface reconstruction, and tip estimation | Synapse