The science behind Paige Madden's Olympic breakthrough in Paris