Added average feature for getDependence() and made all distributions return exactly nbins # of values