Fixed header and converted str's to ints. At the moment we are fixing the matrices that were missing the square root. for future usis this should be changed by commenting out the corresponding line (47).