Updated closest() so that you can supply a stop and it will not traverse up further than the stop node.