Removed seperate functions if x passed to compute_error-estimates is a vector or matrix