Added libraries necesary for plotting