Added function to collect graph data
Added graphing function for medians