Practical algebra and hydrostatics: the legacy of Thomas Harriot