Introduced writing of validation samples
Summary
This MR introduces the following changes
- Allows the --hybrid_validation flag to be used in the write step of preprocessing. This applies scaling/shifting, and outputs in the same format as the training files.