Added linear and phase based magnification code