functioning parallel plotting, need to clean up and check speed increases