The Evolution of Cell Cycle Regulation, Cellular Differentiation, and Sexual Traits during the Evolution of Multicellularity