Fixed Ray AABB intersection code

Missing test on the z axis.