f is now activation, the matrix multiplications have been moved to combine and embend