function is used to calculate one of the eight different matrix norms or one of the vector norms in Numpy
By Olga McGlynn at Jun 04 2021