this function is unnecessary. Setting default norm type to the above function does the same thing.