Improve documentation for illumination estimate
Fix two bugs in illumination estimation