Scientists uncover hidden math that governs genetic mutations