Made a const version of the indexing () operator in SparseMatrix.