SMS dit: Optimal Control Theory An Introduction