Initial implementation of the sparse matrix.

@bsoetaer 
Tests pass when the contracts are disabled.
Not sure what this does. return an zero-sized sparse vector if default_vector has not been set yet?