Added math to toxcore