Optimal control of a dynamic system with multiple uncertainty in the initial state as based on imperfect measurements of input and output signals