[#feature/warning-matrices] Fixes some warnings cause by matrix-vec stuffs