sequentiaPValue function

Sequential p-value computation