A New Mathematical Model of the Origin of Life