waterDensity.m ref