use Eigen in SdA.

Fix.

Modify.

Fix.

Fix.

Fix.

Fix.