Simulations Of Critical Currents In Polycrystalline Superconductors Using Time-Dependent Ginzburg-Landau Theory