General algorithm improvements:
  - add scaling to dft
  - implement math class as an alias for standard math
  - add missing functions to rambuffer