abs for matrices
added missing stuff
file dumps + debug