Added Data Logging

Preliminary data logging to tracked skeletons - the code is not the most
robust, but should work for basic demo purposes.