Added documentation of ad hoc operators, two new such operators and fixed bugs
in the existing ones.