add lerp and smoothstep utils