add test file for distance metrics
add script to test plot code