Vector4 class implemented and tested.