This version of the prediction algorithm did not work either. I will be attempting a new algorithm