make_class_pred function

Create a class_pred vector from class probabilities