Performance improvement: removed bounds checking from class Array2D.
Performance improvements and profiling results.