RAY: added ray.[ch].

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>