A New Approach to the Solution of Linear Optimal Control Problems