Added MathExt.js. Updated documentation.