add deallocate in tallyobject
add deallocate for added variables in tally_header