Cleaned up latex files, and added script to invert the matrices