Added linear interpolation and a class template for vector2