Added a numpy version of color2gray