edited AnalyzeEncounterFrequencies.m class (graphics)