signage errors in lookupsin ans lookupcos fixed
converted gait over to fixed point math