Sorry, I uh... actually edited it a couple of times while you were working. My bad. But check out removing the locals, and the end statement about your constants, in case you missed them.
Edit: Wait, don't worry about removing the locals. I didn't see that they were used twice.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!