add inline implementations of setting rows and columns for all matrices