Removed the calc_gmfs functions, since they are not yet used