ComputeError.R