Mathematical methods for analyzing highly-twinned grain boundary networks