Code base

Imported apache math library.