Function easeInOutQuad

Returns the value that an "easing" quadratic function would have at the given x.