Refactored MLP to use a function to view a weight vector as a collection of
parameter matrices