SparseMatrix/SP initMatrices cleanup/refactoring