added test cases to data file. Last element is read incorrectly. Torque calculation seems to be time dependent- missing data reads? Changed energy integration function back to avoid off by one error.
fixed power calculation, and energy calc handles missing samples
Merge pull request #3 from ronf-ucb/master

telemetry example corrected power for neg PWM, and cumulative energy for missing samples