added min/max/step/smoothstep GLSL-like funcs.