First derivative of dynamical matrix with NAC