Add totals to the row header fields. Needs loads more tests