fixed matrix element translation
fix sqrt translation