Initial implementation of the sparse matrix.

@bsoetaer 
Tests pass when the contracts are disabled.
Why did you decide to now inherit from Matrix class?