Generic function that calculates the probability to declare efficacy at the end of study given the Z value at the current look
Useful links