Added some documentation and a bug fix in mtree-awgm