power.mean2 function

Approximates the power of a two-sample t-test for planned sample sizes