implement analysis functions for CASMACAT XML files in util package