Documentation and minor refactor to clarify MT memory management
Allow user to specify memory limit for dictionary training