function unit_vector(v) = v / norm(v);