bug-fix: wrong array size allocation for matrix vector multiplication