Changed ray to class with private members.
Merge branch 'master' of https://github.com/happah-graphics/happah.git