Creating polarization singularities with an N-pinhole interferometer