Changed args checking package
Added convertor fpr Dense to Sparse