added upsampling and graphing to distributions