clustering automated!

calculates the cluster and the errors for given datasets and parameters