Updated Groovy bindings for Perceptron to match constructor signature