Switched values for pixelLoc

Each pixel is the number of rows "down" it's gone (y-value) times the length of each row, plus the position it is on the current row. Before, I had a mistake that really didn't make all that much sense.