Std math

Update poly and isIdentical to use other types