Quantitative Methods for Analyzing Structure in Genomes, Self-Assembly, and Random Matrices