First attempts at modelling sleep