Implemented templated 4-component vector class.