rescale X to [0-1] before dbntrain.