im using a file with the matrix in it as the input, reading in the file and splitting it (this is the sub up above) this is this first of 3 subroutines, the next one is dividing every number in the matrix by .25 to get rid of the noise factor then the new data is the out put, and the last is writing to an empty file