Implemented calculations of distributions of contributions