This method doesn't strictly do Maths computation, it's only for displaying the distribution. Consider putting it outside of the class (as a separate function or object).