Determination of the Hubble Constant in the presence of Shear and Non-Isothermal Models