auto_rate function

Automatically determine most linear, highest, lowest and rolling oxygen uptake or production rates