Modelling and analysis of the sinoatrial node