added to features.pyx hog_gray for grayscale images