Added the rest of the prediction equations