Fixed sigma calculation to use population variance
Model validation post code