Create pre_CMGfunc_trainNetworks.py

Pre processing of networks for CMGfunc. This code is not intended for users. Script trains networks on proper input data using pybrain.