RetangleMethodClusterer implementation.
Code refactoring.
MathUtil for mathExpectations and dispersions counting.