FULLPIPE: Implement MovGraph::calcDistance()