converted all math natives to Go