Time-Series Analysis via Low-Rank Matrix Factorization Applied to Infant-Sleep Data