master thesis in control engineering