Pseduopolar basically works, needs a little tuning to get output the
same between brute force and fourier method
Working pseudopolar test, ready to move to a production type code