Fix #33. Added support for maximization for Probability of Improvement.