Title: Two Improved Algorithms for Envelope and Wavefront Reduction