added a newwidget to gui, modified the constructors for Ransac and Segementation classes