Fixed bug with sign function on GPU
AST conversion now supports simplification