Code for computing approximate entropy for a time series: Approximate Entropy is a measure of complexity. It quantifies the unpredictability of fluctuations in a time series