Using lone doubles in place of tuples in coords.c for better performance.