implementation and test for trapezoidal distribution for issue #21

the paper referenced earlier in the thread for trapezoidal seems to be mainly about parameter estimation/fitting.
I used this paper for implementation because, although verbose, it had analytic definitions: http://www.seas.gwu.edu/~dorpjr/Publications/JournalPapers/Metrika2003VanDorp.pdf