Finalize "check" method and write doc.
Move "set", "get", "length" and "toString" methods at the Vector level.

This helps to write more generic testing code.  There is a small potential
loss of performances as the "get" method now returns a double precision value
whatever the underlying type.