Document the isSameDimension and isSameVectorSpace methods.