added image decomposition functions

decomposeParagraph, decomposeLine, fixed cropLargestLeftMost &
cropLargestTopmost