Refactor of gemv and test_gemv

Details:
- Refactor of gemv and test_gemv
- Minor update of symv and test_symv