changed unique calculations to diversity added calculation for effective diversity for RAIS