faster RGB to grey conversion