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