Function normalize

Return the normalized version of vector v.