Changed output so that the histogram function creates one pdf of all plots