Add convenient mathematical template typedefs