fixed activation bug and biasing point bug in the neural network construction