Issue #3: completed math library.