rm useless functions.R, added rating matrix to setup