The Mathematics of Climate Modeling