A theory on how complex systems can evolve through neutral transitions and spread through a population by chance fixation