Linear mod one transformations and the distribution of fractional