fixed improper score function input

- xvalid and yvalid where given same input