Added discriminative pretraining option to NN VAD training. Refactoring.