Fixed gcc warnings
Bug fixes
Updated .travis.yml