Added Namespace. Fixed data set training bug.

TODO: Handle invalid network inputs with proper exceptions and finalize
the MLP.