Added type and bounds checking on new numRounds argument