Implemented region distance calculation and 3d visualization.