Created functions for random draws and generating pdfs of trait distributions. Still included in main code