put call to phylip file in external function
modified kmeans_wrapper() to work with subsets rather than lists