Using Autoencoders and AutoDiff to Reconstruct Missing Variables in a Set of Time Series