Text this: A new piston referencing algorithm for qualitative assessment of free-piston engine generator performance