fixed up names, better error detection, moved plotting functions out
fixed up names, better error detection, moved plotting functions out

dacb/cluster_analysis,dacb/cluster_analysis,dacb/cluster_analysis