Inverse propagation algorithm for angstrom accuracy interferometer