A sparse distributed memory framework