relative_error function

Computes the relative error between the true and estimated matrices