Mostly added comments, but also fixed a small bug in parent selection where the tournament size would be much smaller than it should be.
On small populations, there is now a lower bound on the tournament size.