Automatic Smoothness Theorem for Matrix Lie Group Homomorphisms