Fix coercion of distributions into other distribution spaces (for both families and non-families). Include doctests.