I wonder if babies work this way? i.e.The brain doesn't know which connection is which until the it performs thousands/millions of movement tests to see what moves what? Then over time it solidifies the muscle memory?
Other animals come out far more developed when born and have a functional motoric system and brain, our species doesn't do that mainly because it would be difficult to have the baby fit through.
The movement is frequent enough that a measure of health for the baby starting about 3/4 of the way through the pregnancy is to have the mother count movements until she reaches 10, which should take between 30 minutes and 2 hours.