added the compress method to the spec file
added compress method to binary matrix and compress_array to utilities