A design tool for magnetic resonance imaging gradient coils using DUCAS with weighted nodes and initial current potentials