Added flipper version with file I/O and polarization support. Sadly, the performance is disappointing in this real-world scenario. Each iteration takes about 10 seconds, and several hundred iterations are needed to converge.