implementation and test for u-quadratic distribution for issue #21

added u-quadratic distribution