Backpropagation, Neural Networks.
dimensions of your matrices match up, if you think through, what are the dimensions of your various matrices including w¹, w², z¹, z², a¹, a², and so on, and just make sure that the dimensions of these matrix operations may match up, sometimes that will already eliminate quite a lot of bugs in