setmatch and setgen etc merged to 'setstatus'
defined electrons in a correct way with different working points