Fixed bug in gray_to_rgb binding