Added smooth_gradients parameter to trainable.supervised_trainer, in order to control if you want to smooth or not the gradients