corrections in cost computation
Merge branch 'master' of https://github.com/maxkub/neural_network.git