Abstracted RV type in 'ContinuousDistribution' and 'DiscreteDistribution'

  See #26 for details