Updated Documentation and added alignStatsTH and TF funs