Added descew functions from leptonica - #11