Fixed minor issue on output_ray() - was calling convert_to_str() twice unnecessarily