Merge apply_scaling and write step in preprocessing
Summary
This MR introduces the following changes
- Merging
apply_scales
andwrite
steps of the preprocessing. - Adapting unit/integration tests accordingly
- Adapt documentation
Relates to the following issues
- Closes #102 (closed), #104 (closed)