Vectorized Sleep Start/End calculation