Fixes some standing issues with Mie simulations. Primarily:
Input and output polarization can now be chosen independently.
Bad combinations of optical parameters now results in a warning. A combination is bad if the resulting pupil is too large and would result in inconsistent results.
Particles near edges are no longer deformed, but rather wraps to the other side of the image.
Some minor errors in the internal calculation of Mie theory have been fixed. These have a very minor impact on the resulting image.
The number of terms to use in mie calculations are now calculated correctly
Fixes some standing issues with Mie simulations. Primarily: