minor fix
add the matrix operations class
the second KL method