added distances to plotDatabaseStatistics, and continued the Kohonen script for determining k clusters