George and I made some changes to the model code...

minor fix for logging in "check" function...