Changed import to gsw instead of sw (i.e., using new TEOS-10 equation of state)
Added hgrad to tools.py