Form Calculations don't seem to be working correctly