updated how condition numbers are determined for group plot