fix dropped sign from sigmoid, add param doc for input_activations_
tweak comments and formatting