Fixed smoothStep substitution