replace deprecated nnz with countnz
Merge pull request #26 from doomsplayer/patch-2

replace deprecated function nnz with countnz