add isDefined()
store white points in XYZ color space
formatting