Developing Computational Methods For Fundamentals And Metrology of Mass Spectrometry Imaging