add dynamic mixed model and lagrangian dynamic mixed model