distance map bug fixed

sometimes nrrd file cannot save vector image correctly due to gzip
compression
elapsed time added