Use integer matrices to store discrete data
Use NAN to indicate missing data