Computational mass spectrometry