The Effect of Temperature Inhomogeneities in the Ocean on the Propagation of Sound