SMatrix works with both lil and dok
revert arraybasedmodel default to lil