Adds setdiff method to dates
Corrects a typo, checks that the number of dates and the number of values are equal, Warns instead of reporting an error if the basic_plan is applied on a shock that is used in a flip_plan (flip_plan has the higher priority)
Merge pull request #582 from FerhatMihoubi/master

adding setdiff method in dates and corrects basic_plan