Changed percentage calculation to obtain absolute value.