Stokes eigenmodes in square domain and the stream function-vorticity correlation