fixed the distribution of chains for AIS

The original code makes overlapping chains at 0.5 and at 0.9, as numpy.linspace includes the end point of the range. The new code avoids this.