Fixed scaler calculation in gridscores