How do you calculate mass spectrometry?