Updating layer_diagram with matrix and nicer fonts.