changed data arrays and added comments

Changed the order of column and row in data arrays. Cell B4 is now
accessed using floatArray[1][3], or srtingArray[1][3].

I also added comments to explain the code.
updated some comments