Expanded if statements for checking if illuminant/whitepoint are input as strings or iterables