Implemented a NN that combines CNN and MLN