Parameterization of a two-stage mass spectrometer performing second-order space focusing