Nested functions are not working, adapting example.
Modified two examples with proper units.
Use --nondimensional option for examples.

If all examples are updated with units, this change can be reverted.
Update examples to match compiler output.