Implement Sparse Matrix Using Arrays For Fact