creates array of house member cosine similarities