Add a 2-dimensional vector class