Improved algorithm for MIE scattering coefficient