UTILS interpolate using only x cordinate