fixes in wrappers and simx1 method for setting x1