added ordination functions and diversity index functions