added math rounding to KI model.