added support for simple return histogram plots in GroupStats
changed to more universal random_weights function