I'm not sure if it is possible to GForce optimize `weighted.mean`? It's quite different from existing GForce functions because it takes two variables.