An algorithm for computing the deflection angle of surface ocean currents relative to the wind direction