Scientist develops an open-source algorithm for selecting a dictionary of a neurointerface