modified data exporter

to calculate heartrate on export, rather than reading it from the
database (as it's much quicker)