I implemented the lighting equations.  It seems to work, but the example is not quite matched yet.  I will need to debug and figure it out.