handle NULL models in addMetaData()
converting from safefitCES() to cesModel2()
converting (le)k and (ek)l to use cesModel2()