-changed parameters and added crossvalidation to main