Adding functions for NN input preparation.
Authored by: jpss 2018-07-30
Parent: [r635]
Child: [r637]