Adding chi95 and chi99 functions