Added MinDist to Initialize Function