Adds javadoc.
Adds sgn() method.
Adds neg() method.
Fixes spelling error in javadoc.