Evolutionary Theory: Mathematical and Conceptual Foundations