Refactor SmoothStep