Change calculate functionality
Merge branch 'master' of https://github.com/SlavaBobik/Node