A Method for Determining Rotational Machine Quantities from DC Tests using Voltage Source Inverter