Modified equation for calculating accuracy