Bug Fixes and documentation update.
Updated gitignore and removed unused files.