Finished draft of clonal frame simulation code.