fix: RGB was Float-based instead of RealNum-based; also, add epsilon constant
fix wi/wo mistake upon calling lightFrom; improve style
simply integrator definition and extract lighting
implement gray and spectrumFromRGB; in the course of this, fix a few bugs