Further documentation improvements, added some functionality

Need to identify how best to get ggX functions into functions, since
several procedures are repeated throughout the stages of this analysis