implemented frequency reference vectors
added reference vectors
not sure if this works
pretty sure cosine and rank are working