Adds tangential smoothing + tool refactoring