A few modifications to CompNet and KMeans...a little name refoactoring
in driver