Add gauss function and fix linear function validates
Create function to adjustment of curves.