added an option to make an array based model without converting to sparse lil_matrix