Neuroptimal Dynamical Neurofeedback