Added more mathematic functions and reordered the opcodes