Rough set analysis code