Feedforward uses a dynamic vector (rather than array) to store layers
+ optimised gradient function