Improved documentation and fixed special cases (one involving scalars)
of inner products |, <, and >.