Fixed a typo in the adaption variable. Adjusted the parameters
accordingly.