Text this: Mathematical model of MMR inversion for geophysical data