Compiler was complaining about casting between Vector4 and Matrix<4,1> so I just did the division by hand. I bet operator* and operator/ are broken for Vector4s as well...