Generating reference vectors of the users