ray tracing system (Haskell)