math
- finish tests and documentation