A window based method to reduce the end-effect in Empirical Mode Decomposition