A transient analysis of a bunched beam free electron laser