vda function

Vargha and Delaney's A