change remainder to rem
change_symbols now works on only the updated .cu files

- No longer mistakenly changes symbols in pregenerated files
Changing sed to replace the parameter names as well
Becuase unary functions need some love too
Adding functions to cast from one type to the other