Fixes name errors, lambda coefficients