Highly controlled manufacturing line requiring real-time spectroscopic or other source of data input into a model