Mapping Uniform to Non-uniform Distribution