Chan
Wow, not sure how that got past me.
Rename from ACCEL_ERROR_* to ACCEL_NO_VALID_* for most likely gesture
mostLikelyGesture supports 0 gesture, fixed #defines, refactored tests
Removed ACCEL_NO_VALID_AFFINITY, use ACCEL_NO_VALID_GESTURE instead.
Somehow forgot to allocate the affinities array. Badtimes.
All tests pass atm, pausing to refactor the recording functionality.
Removed the raw_recording array, it shouldn't have been used at all.
Never used error_bit, so it was removed.
Added info for the ranges that pebble uses. CubeRoot(x) may work
Always preset the gesture affinities to something huge, it works!
This algorithm works within some constant bounds
Modified test description in accel_test
Paranoia about input values. Trust nobody!