Testing for generating periodics for square root
Hacking together the periodic stuff