added position vector class