lambda_diff function

Calculate lambdas for two competing hypotheses