Fixed 4 failing tests due to astropy/astropy#1680 by explicitly setting param_dim in class factory.
Merge pull request #49 from pllim/modeling-paramdim-error

Fixed 4 failing tests due to astropy.modeling API change