BUG fixed: behaviour switched between enablePadding and !enablePadding
Merge commit 'a2eaa48' into cuda_hog