Clean up scan data arrays
Use a single array with elements that comprise scan x position, y position, and index into block instead of separate arrays.
Simplify array initialization code
Use a single array with elements that comprise scan x position, y position, and index into block instead of separate arrays.
Simplify array initialization code