Yeah, I'm sorry, I messed something up while coding it... sorry!
It's okay. I can only imagine how many variables you must have to keep straight in that part.