Changed HOG descriptor column-wise computation to row-wise computation.