Removed unnecesary code.
Updated docstrings.
Added more lines separating methods.