added clamp and saturate functions