New function: calculate G from MI
Write out the branch into the .hmm file
Add the word "branch"
Merge branch 'master' into weighting