Merge pull request #1 from francisco-dlp/fix_kka

Merge changes from Francisco
Fixed bugs with the dimension of parameter te and a confusion between parameters io and i0. Also fixed typo in docs
ZLP integral as an input from other method in hyperspy is calculated using the simpson rule. Now it works this way.
Revert "ZLP integral as an input from other method in hyperspy is calculated using the simpson rule. Now it works this way."

This reverts commit de231975ee59fa4a8f902e0e24b3891223896a1d.
Do not reshape thickness when given as a numpy array, raise an exception instead