fixed some bugs
stubbed generalized distance seeker