power

built and tidied functions for power. currently only runs RR intervals,
but can easily be modified to do ttot

#16683064947985