combiner vector-norm and matrix-norm into a single norm method.