Update date_functions.R

I've included the slightly altered freq. simulate code. Both include box plots for real and dummy data. One is for filtering by elements (although this needs work in terms of naming the CSV and boxlplots).