Bugfix: util.planck was modifying the input wavelength array.