added derivation for Wen&Stephens for bivariate case