adding new histogram and fixing svmass calculation