Fixed pylint errors and warnings
Updated inline documentation