changed some names, and added StandardDeviation method