Closed Subgroup Theorem for Matrix Lie Groups