Iterative ray tracing working for spheres and planes and code tidied.  Reflection of light directions still not implemented.