consistent set y function
minor changes to dimacs scripts