Pater, you might want to add this line into your Windfury damage calcs. I think I did it right for java, but don't know for sure:
if (hand == "OH") D1 += (bonusAP)*wepSpd*0.5/14
it goes after this block, I think:
double W = (maxDmg - minDmg) * Math.random() + minDmg;
double D1 = W + (currentAP + bonusAP)*wepSpd/14;
D1 *= elementalWeaponsFactor; // See Disquette's testing
D1 *= WEAPON_MASTERY_FACTOR;
if (hand == "OH") D1 *= 0.5; // 50% penalty for offhand attacks
This is adding back in the damage bonus that the most recent patch activated. What is happening is that you do your normal WF damage calc, and then multiply by .5 for the offhand penalty. However, the "bonus damage on windfury" that was in the patchnotes is actually reflected by *not* halving the AP bonus on your offhand weapon.
This is just a quick and dirty way, if I understand your code correctly, to add it back in without disrupting the rest of your code.