Adding banditProblem new script, added some check to optimalModel_new