VECTOR tempVel,tempNormal;

should nt you have a * after VECTOR