AdaptiveControl: changed sine function