Docstrings added
Some bug fixes and pandas isnt needed anymore