Add .dir-locals.el for Emacs/ESS style compatibility
[Fix #284] Compute periods in as.period.interval without recurring to modulo arithmetic
Optimization in `divide_interval_by_period`