Optimal Control and Forward Dynamics of Periodic Forearm Motions using Fourier Series for Muscle Excitations