added woraround for wrong accessors
imprived performance of sparse matrices
added credits from Pavel's contribution
fixed a typo in compressed vector