add checks for elite.size parameter, elitism now works fine