Envelope Process and First Passage Distribution for Non Stationary Stochastic Processes