Simulation model update

- fixed fram transformation, sdl joystick s-function, cleanup