Minor bugs fixed and added dependencies to setup.py file