added a 4D vector class

template vector class that can be used with different base types like float, double, int ...
the class includes overloaded operators and basic vector functions.
often used 4D vector types are already declared for convenience: float4, double4, uchar4, uint4, int4