cosmetic changes
minor performance optimizations
add unittest for implementCoalescence
minor optimizations
improve unittests for calcRate
add check if contemporaries were not pruned before
improves previously introduced check
fix pruning for all nodes but local_root
fix pruning for local root
fix problem with invariant updates
completely reworked pruning