Changed the hog descriptor computation.