Fix gitignore file
Remove training. Make neuron threshold static.

Because of this, the examples don't work anymore.
It is not certain if the neural net itself works anymore,
because the static threshold hasn't been tested.