Kronecker-factored Approximate Curvature (KFAC) From Scratch