Error on my Processing GUI code for Arduino , I need some help

I think I understand. You had a loop() that had all the calculations in it. Then added a new loop that has the printing, but not calling the calculations. Put the calculations from into the current loop function.