Wrote over res-gausser code

I just copied gasser code over it.  And replaced uses of it in res-f4
code