added scoring function, added caret package cross validation for parameters selection