Fix documentation, move to camelCase notation

I used snake notation first because I was porting the python3 code.

Also fixed misleading comment.