Stream function approach for determining optimal surface currents by