Gets the value at the specified row and column.
row
col
double get(int row, int col) { return values[row * 3 + col]; }