modified sparse complex class,
add isSparse to test if a matrix is sparse
working on the pardiso