ENH: Rename distribution to method.
Factor out a weighted_sample function.
Bounds checking on scaling parameter.
Fix spacing.