微修正
replace nd_gr with nd_gr_trace
add Casimir operator