changes int range generator to range across full given range

changes the int(L,M) range generator to always range between L and M, regardless of samplesize.