updated interface/gemv.c for multithreading