Kenvl function

Compute Envelope and Average of Simulations of K-fns