Simplify math library usage: inline functions that operate on values

By making the matrix functions static inlines, the compiler can do
something sane when passing a mat4 by value, making the library much
easier to use.
gc_math: Add mat4_axis_angle function to construct a rotation matrix