fix makefile for shared library compilation
new cvv_read_matrix() function to get dense matrix from file