refactoring : created AdaptiveManifoldFilter class