Calculation of sector-shaped mass spectrometric analysers with curvilinear boundaries