calc_half_chains

Usage:
$nchains = &calc_half_chains( $icalcs, $whole_chains );

Action:
Uses the formula:
half-chains = sqrt( whole_chains ) / #independent calculations
to calculate the number of half chains necessary to generate the number of whole chains desired.

This routine will return a half-chain number evenly divisible by 10, which is required by the C programs.