added norm and bandwidth functions to matrix.js