Move math lib