Trial function

R6 class for power and sample-size calculations for a clinical trial