Adaptive Controller For Improved Real-Time Neurofeedback With Functional Near-Infrared Spectroscopy