Reading notes on loss functions.