Updated calculatePartition procedure
Merge branch 'master' of https://github.com/volkovasystems/calculatePartition

Conflicts:
	calculatePartition.java