added recordThought, matrix storing of data. probably doesn't work, no testing