Optimal Control in Process Tomography