A class for working with two dimensional vectors.