More changes to core types. 2D ArrayLists to double[][]