Initial import of spectral test functions for periodicity (lacking documentation)