Fix for calculateHyperPeriod function