Ray-Ellipsoid Intersections

Fix ray-ellipsoid intersection when the ray origin is inside the ellipsoid. Modified both the GLSL and Javascript functions.

This fixes the second part of #390.