Calculation of relative heights of isotopic peaks