Remove Compression::distance
New matrix module