lerp = function(a, b, t ) {
                return a * ( 1 - t ) + b * t;
            }
Linear interpolation function.
@param a The lower integer value
@param b The upper integer value
@param t The value between the two
@returns {number}