Added cortex_to_ray to print in ray format