Factors affecting moon phase