Factory must function properly. Have merge errors

in MultiLayerNet