Added extract_patches function + edited image tile.
Changed feature histogram interface: Scale selection is now up to user.
Removed util.pad(), it is implemented in numpy.