Format realign
Lots of fixes to cactus_realign + the addition of a mode to allow
posterior probs to be output.