Updated GcAMP Code and plot functions