Sorry, in refactoring the relevant comment (about D65 calibration, etc.) got moved below this to Line 168. I'll add something here, with a ref to a website or so.