Range and standard deviation calculator