norm() implementation

Jos,

This is the norm() implementation for numbers, vectors and matrices. I need it for some optimization algorithms (Levenberg-Marquardt) I am implementing for another project. I can provide the code for those  algorithms if you have plans to add an optimization package in math.js.

RJB