Added decomment algorithm to utility library.