added test for the code part that causes the division by zero
added zero check and set OPS to NAN if duration of the events is zero
Merge pull request #23 from Matthimatiker/avoid_division_by_zero

Avoid division by zero in MethodResults