added sigma vs current graph
moved cluster definition and clustering function to a separate file