control_cluster function

Control the fit function