fixed int matrix * vector, fixed some tests