Text this: Theoretical analysis of triple-pass erbium-doped fiber amplifier