Added scoring option to grid search