Added euclidean norm in Ruby