JSDoc improvements

Improve createModel doc, Fix some other minor issues.