Fix #59. Define lambda, k and N.