Made the fortran version of the 2D correlation test code. Am testing now....