Ray intersection with plane