An error in a core model checking function fixed.
Added manual and misc code.