New function: calculate G from MI
Write out the branch into the .hmm file
Merge branch 'master' into accept-serially