REV: offload eval_interacting_pairs_deriv in model.cpp

	Add '__declspec' recursively until no errors or warnings are
	shown during compilation.