What you seem to be doing is calculating the average of the acceleration vector over half of a period. But the acceleration vector doesn't vary uniformly over that time interval, so the method is invalid. (Varying "uniformly" means each coordinate is a linear function of time.)