(Clone Detection) Added tool to optimize threshold and weights