You added the absolute values of the strokes. Instead, you should find the sum of the negatives, the sum of the positives, the difference of their absolute values, and add the appropriate sign.