Add C++ maths.h. Add MWC engine discard() function.
C++ shr3_engine initial code.