Implemented 2-norm for vectors