1) Which data is returned? The number of rows or columns or the entries? In my opinion the name ```getMatEntries()``` is more expressive.  
2) Please ensure that the matrix entries can not be changed outside of the class. The return type should be
```FP_TYPE const*```.