rafactoring and minor bug fixing in function-dragging code in the GUI
added function Sigmoid and new function category (in progress)

the new category (sigmoidal / s-shape / step / transition function)
is added to "peak" and "linear" categories