Add ability to set number of input / output neurons to MLP using attributes