new coords function
Merge https://github.com/SeanTater/gesturestitch