Relative error computation capsulated and works now correctly.
Merge pull request #12 from lybeck/roope

Relative error computation capsulated and works now correctly.