A simple C++ template class for 3 element vectors.