Added curve recognizer
states changed to make more sense

Possible until enough data is gathered, then Began.
Merge pull request #14 from simonbroggi/master

Curve Recognizer