Fixed signature of compute_ses_and_gmfs