Replaced norm_sqr by norm in normalized()