Improved gb2way and added documentation and examples