Using Absolute Value In Python Math Library