Added reading and writing of compressed matrices as formal option