calculating rectangular hopper discharge rate