added more math funcs, vector conv funcs, arrive behavior