fixed bug. works now.
Merge pull request #34 from ipa-mig-fb/feature/raytracing_bugfixes

bugfixes that concern everything around the raytracing feature