fixes density methods in AbstractCompressedMatrix/CompressedVector
Merge pull request #54 from ewaldgrusk/fix_density_methods

Fixes density() in AbstractCompressedMatrix/CompressedVector