Histogram Class
function Sum: Int64;
Calculates a mass of the histogram. Sum(Calculates column value to multiplied by column index+1).