Mods for Spatial stats class - fixes scale bug