Assessment and Optimization of Waterflooding Performance in a Hydrocarbon Reservoir