Minor refactoring in SGMatrixList.
Methods don't return refs to matrix elements and a setter is provided
instead
Merge pull request #1314 from iglesias/feature/fix_matrixlist

Fix crashers occurring with SGMatrixList.