Modelling of a Hybrid MAC Protocol for M2M Communications