Merge branch 'develop'. This is v0.9.0.
Fix errors in documentation and add defining functions and macros
Updrade versions to 0.10.0-dev