Hog: performance improvement in descriptor creation