added getPtr() to AbstractSystemMatrix so we can now use shared systemmatrix pointers rather than circumventing them.