bugfix for release mode
new training function
Merge branch 'master' of https://github.com/kachniarzm/SieciNeuronowe