Changed "convert" so that we an inflate (deflate) the distance matrix. Is useful on different hardware configurations.