Control Theoretic Approach to Fine-Tuning and Transfer Learning