Improved algorithm for corner-cutting tunneling calculations

Improved algorithm for corner-cutting tunneling calculations