Large Improvements to 12

Changed the way modeling/prediction was done in script