Added DRMath implementation.

Implementation of static DRMath class was added.