Fix simulation to record depth of water instead of distance to sensor