improved diagnose to handle non-degeneracy-removed calpars. also changed the badness metric from fraction of violating entries to the square of the fraction so that adding three tests is more sensitive to each test
the previous commit also changed the diagnose threshold from 0.5 to a more tolerating 0.67 for data and additive