Calculate Lamda