change mgd to include new reference temperatuer option.

Can you move this line after the docstring?