Added documentation of unary, binary and comparison operators, and fixed a bug.