changes to plot and added final integrate.cu