Rework Standard Deviation into a method