Update with newest calc_pH function.
Copy array properly.