Fix saving/loading of gestures

The main issue was saving the Quantizer's centeroids incorrectly.
I'm also writing out doubles instead of floats, these showed better
accuracy than floats.