fixed:
-bug with sigmoid output activation
-bug with No act. function