Electric powertrain layouts analysis for controlling vehicle lateral dynamics with torque vectoring