fixed matrix exp problem, OneStruct needs the same fix