Fix matrix::get_translation crash
Fix matrix translation methods ignoring last axis
Separate vector definition and declaration