Linearly interpolates between a and b.
interpolated value between the two floats
the beginning value
the ending value
ratio between the two floats.