account for ZeroDivision error in morality_calculator in degenerate case of only ALL_C and ALL_D