Expanded assertion to catch ndims errors.
Merge branch 'master' into feature-fisher
Merge branch 'feature-fisher' of github.com:csferrie/python-qinfer into feature-fisher
Merge branch 'master' of github.com:csferrie/python-qinfer
Merge branch 'feature-fisher'