Enabling sampling with intermediates for ExpandedDistribution
#909
+24
−11
ExpandedDistribution
#909