Now (in 2018) Ive been working with the excellent Rebecca Fiebrink on gesture classification using the also excellent Wekinator software.
As a helper I made and released the Motion Sender App for iOS devices which makes sending accelerometer, gyroscope and attitude data to Wekinator obscenely easy.
Get it here