Modelling and analysis of a genetic oscillator in E.coli