Bugfix of PeriodicAnalysis,This bug was very wrong.