remove pkg files
update technical note
add gamma.hat.gen and related configuration and tests