debugged gibbsinference, added console output