automated descriptor generation

also fixed rotating->cropping patch extraction