Added exposing internals for SparseMatrix, fixed SparseBuilder, removed isSparse, added isSameSizeAs and and equals for SparseMatrix and added tests