Hermite S-curve