Libraries required for plotting were added