Added control for cooling outer boundary condition, and added local heat source in the ocean