Double-Diffusive Instability in free diffusing Layers: A General Formulation