% MATLAB functions for Mie scattering and absorption