Removed routines not used by the pathtracer