add default vector implementation

As requested by sk89q in <https://github.com/SpongePowered/Sponge/pull/29>.
> return *ptr * *ptr;
We are using Java here not C.