A Hydraulics Package to Compute Open-Channel Flow over Weirs