Fixed bugs and now sim seems to work...in 0 g