Split coordinput into two files, fixed distance calculations