updated optimizer to control num threads, updated cross validator to do limit the number cross validated tests it does, updated optimizer to all users to specify the max iterations
resolved merge conflicts