corrected scaling of input and output distributions
modified example to account for changed scaling of input and output distrs