I have removed a couple of parameters and changed the name to compute_gmvs which is what it does.