* fixed dynmatrix insert_rows for multiple rows
* improved tests