Redesign of Matrix API

- Implemented the operators for matrices
- Cleaner tests
- Removed the solver. Newer one coming soon.