Function NewOES
has 5 return statements (exceeds 4 allowed).
func NewOES(nPoints, nSteps uint, sigma, lr float64, parallel bool, rng *rand.Rand) (*OES, error) {
// Check inputs
if nPoints < 3 {
return nil, errors.New("nPoints should be at least 3")
}