The Dynamics of Magnetic Flux Tubes in the Solar Convection Zone