added unwrapping for phase edges, disconts occuring when a fringe crosses the bounding box at an angle