The lunar-phase gem calculates moon phases