new set_training_validation func
new set_training_validation renamed set_validation_perc
static func to the bottom
new private function for limits finding