Use vecnorm in norm(Matrix) when first dimension has size one.

This one speeds up the norm calculations reported to be slow on the dev mailing list.

cc: @jiahao, @stevengj