Fixed nmatrix.h macro to do element-wise operation after to_nm conversion from Ruby/GSL