Extension of Generalized Delta Rule to Adapt Sigmoid Functions