Slight edit to how distdev is cached so it works with multiple RandomDistribution items