Extract math and hyperbolic functions.

Also, add missing geo/projection/index.js file.