add a final_header switch to calculator to indicate that the header should not be filtered in regard to the columns indicated by the write flag