Response of the upper ocean to wind, wave and buoyancy forcing