Make colMagnitudes a method in RowMatrix