Accurate atomic positions from electron microscopy