Conversion of functions to Fortran; ms2gamma incomplete