lerp

fun lerp(x1: Double, x2: Double, t: Double): Double