A continuous markovian model for neuronal activity