Bugfix multiple nosetest deprecation warning bugs

only 
   >python2.7/site-packages/scipy/integrate/quadrature.py:360: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future

and 
   >hyperspy/hyperspy/model.py:977: DeprecationWarning: The `weights` argument is deprecated and will be removed in the next release.

left