changed monitor data field from data.frame to matrix
currently not working, saving progress