fixed fwd/inverse includes
fixed includes for inverse_spd for autodiff types and added tests