Transformed Mass matrix preconditioner from a linear solver to a liner operator
- I modified the toarray_struphy method, so now it does not allocate the output array if one is already given in the function parameters.
- Transformed the Mass matrix preconditioner into a linear operator.
- Added the method tosparse_struphy to transform linear operators into sparse matrices.
- Added a test for tosparse_struphy