Found major bug in nans, checkin before changing core periodicGaussianFunction to not taken in a period argument