Added more ray intersection tests