Set up for parameter sweeps; normalized 'g'; set ntrain up as a passed argument; added smoothing module to colorizer.