Add function GenericMatrix::nnz() to get number of non-zeros in matrix.

Fixes Issue #110
Update ChangeLog