Removed scaleAb in favour of csaw's scaledAverage.