Fixed small bug and improved CONTRIBUTING.md