setup_lambda function

Compute sequence of lambda values