sampleEntropy function

Sample Entropy (also known as Kolgomorov-Sinai Entropy)