Fixed bugs in the path methods for features and geometry and implemented the one in vectors