Vitalsource Technologies, Inc. Variational Calculus and Optimal Control