updated tests
fix conditional loss ratio in boundary case
Merge pull request #52 from gem/update-event-based

Update Event Based algorithm