Mass spectrometry data pre-processing