Corrected a bug in HOG actuator, related to margin
Useful additions to blobtrainer (--subdivide option) and to hog