Final commit of all my changes.

svn path=/trunk/libs/math/; revision=84326