Removed zlib dependency and fixed a sparse matrix parsing bug