Computes the linear interpolation between a and b for t.
a
b
t
the start
the end
the interpolation rate
the computed value