Update calculateError.m