Implement cogs for moon phase train.