got rid of the old model and got a new one. Apparently the old one was buggy. Program claims that it can now read correctly but it still can't seem to get the values
added a null terminator to the string representing the name of the file. Also the two dimensional arays normal,x,y,z are now passed by reference and not by value now