Fixed issue with repeated coordinates appearing under different id;s. Updated clean-up function. Working on removing double connections? Should I? WOrking on visualization.