modify Makefile.linux to use OpenBlas, without OpenBlas this code is superslow
add two matlab functions required for matlab version to run