More refraction, still segfaults
Added spheres to test refraction/reflection against
Cleanup
More cleanup and tweaking
Merge again