Fix two careless bugs.
Add simplest prototype of ray tracer.