refactoring - added ConnectionCalculator interface
Merge branch 'master' of https://github.com/ivan-vasilev/neuralnetworks