Text this: Investigation of linear generator starting modes by mechanical resonance and rectangular current commutation