Gravar-mail: Inferring the rules of interaction of shoaling fish