Initialises all variables defined at module scope to NaN, including the wave numbers. This ensures that these have to be explicitly set.