Made a standard PDMath header file. Added BUFFER_OFFSET macro.