The parameter speed_limit was introduced to handle coupled instabilities and was meant to limit the speed of a berg if became excessive. The code limits local variables uveln and vveln but the routine is returning variables axn and bxn which need to be recalculated from the modified uveln and vveln.