norm was not returning norm in swig matrix method