add normalize, mag, squared_mag to vector
add normalize, mag, squared_mag to matrix_vector