Preventing division by zero in Statistics class.