Chi squared bugfix

https://github.com/hyperspy/hyperspy/pull/158

bugfix where not active components were also taken into account when evaluating chisq