shorten the code of replaceByClumps()
add a check of python input for replaceByClumps() method
further improvements in clump logic
Merge pull request #32 from jakob-ifgt/master

Updates in clumps.