Enhancing Trust in the Smart Grid by Applying a Modified Exponentially Weighted Averages Algorithm