Added new math library

Much more efficient math library. Base2 to Base10 converter yet to be
done.