The weight of location i in the memory matrix, normalised to a value between 0 and 1. β is a strength parameter.  S(k,M[i])  is the cosine similarity between the key vector and the ith memory location.