Calculates the empirical expectation value of a signal
Developed 2014 at the DLR Institute of System Dynamics and Control