The short of it is you are building new neuron connections which let you use subconscious mind to control muscles instead of the conscious mind, which is slower. When you have to think about it, you are moving muscles as the speed of thought as you think through individual motions. Once you have built the new neuron connections, then you can do all that at once without thinking about individual motions. That's muscle memory.