more degreeking, expanding the expected_frequencies objects, clarifying keys in expected_frequencies and distribution_functions