minor doc&format fixes in DTM model

I've gone through the code and fixed some minor typos. Sorry for the delay @Arttii !

Let me know if the changes are ok. I probably won't get a chance to run/use DTM any time soon, so if this DTM wrapper solves your problem, let's merge it now. Thanks.