Estimation, prediction and control in (max,+) systems