Making LinealTopologicalWatershed a library and added unit test.