Added rest of training script with simple CV and test base statistics and save final parameters.