Cleaned up plotting scripts, also added copyright headers to each file