Implementation of the algorithm described in: A robust, general automatic phase correction algorithm for high-resolution NMR data