updated ordination code and figures