added sigmoid functions to library