PEP 8, general cleanup

I have renamed the camelCase methods to comply with the lower_case naming conventions endorsed by the PEP 8. For the sake of backward compatibility, I have left aliases to the camelCase methods.