Partially fixed sparse implementation
finished fixes to sparse submatrix referencing. Still could be improved.
fix for sparse add
fix for sparse is valid index
Merge pull request #8 from sbroadfoot90/master

Fixed some problems with the implementation of sparse matrices