Statistics for Topological Quantum Computation and Protected Gates