added sparse matrix under parameter framework