Distortion correction in magnetic resonance imaging using the simulated point spread function