adding eric sparse matrix shiet