Note: If abs(x_2[i]) <= eps then the relative error is simply x_1[i].
This model is obsolete because it has some issue with a passedTest
varaible regardless of if its boolean or real depending on the
errorExpected value.
Moved to a function to remove issue.