Improvements to HR analysis

Add HRV computation and support for time-based subsets of the data