Finished calculations for header 1 and header 2, made grid toggleable.