Unitary coherent hippocampus model code, created by Charles Fox and Alan Saul and edited by Mathew Evans