Merge development branch changes into master

- Rebranded print_fig to printfg.
- Compatibility changes with MATLAB R2014b.
- Code refactoring and tidying up.
- Updated documentation.