moineau: fix period/twist calculation. Now, period is really a period.