added higher order autodiff tests for log_determinant_spd