Updated optimalModel_new and adding new decision vector function