add NLL cost
fixed run_deep_trainer and updated the docs