Were there evolutionary advantages to premenstrual syndrome?

Were there evolutionary advantages to premenstrual syndrome?