Add a tracking of global loss in each epoch

Something to look at while training the model :)

    global_loss += 0.5 * entry_weight * (prediction - c_log(count)) **2
Why not factor out the `log` call? Is this relying on a compiler optimization?

Also, and I'm probably missing something obvious, but why the `0.5 *``?