Matrix vector multiplication in parallel via different methods