adding flag (norm) to return a - b, b - a, or abs(a-b)