Fix bug in quarticOut