Correction of return values of `platt` function.

Inclusion of `eilers_peeters` and `ep_minimize` algorithm.