Checkpointing partially working code.

Lots of bugs to fix in fillFeatureVectors.