Fix incorrect function name in test script
Calculate Xtilde2 in C++