grid. So now you can convert from image to hog instead of just hog to image. Also added some related unit tests.