The world No. 1's effortless shots and graceful movement disguise his obsession with optimization and refinement to stay on top.