A frequency accurate spatial derivative finite difference approximation