New emwsolver version from scratch