#9 progress. Further improvements to the API, including putting some of the training methods into NakContext and reducing some code duplication. Also fixed error in how the LinearModelAdaptors were being constructed, which was producing a null pointer.