copy of featpyramid from voc5. going to plug in Piotr's fhog here.