More COG work

still need to do plotting, but all the data is there