Stav dette: Discrete inverse and state estimation problems