fixed mistake calculating std deviation in 2.2